/**
 * @program: Reconciliations.js
 * @description:对账记录
 * @create: 2018-09-12 14:22
 **/
import request from '@/utils/request'
export function getOrgResult(queryParam) {
  return request({
    url: '/Reconciliations/listorg',
    method: 'post',
    data: {
      ...queryParam
  }
})
}

export function getManualOrgResult(queryParam) {
  return request({
    url: '/Reconciliations/manuallistorg',
    method: 'post',
    data: {
      ...queryParam
  }
})
}

export function doSynch(queryParam) {
  return request({
    url: '/Reconciliations/synchronize',
    method: 'post',
    data: {
      ...queryParam
  }
})
}


export function getChannelResult(queryParam) {
  return request({
    url: '/ReconChannel/listchannel',
    method: 'post',
    data: {
      ...queryParam
  }
})
}

export function getManualResult(queryParam) {
  return request({
    url: '/ReconChannel/manualChannel',
    method: 'post',
    data: {
      ...queryParam
  }
})
}

export function getDetail(queryParam,pageParam) {
  return request({
    url: '/ReconDetail/listdetail',
    method: 'post',
    data: {
      ...queryParam,
    current: pageParam.current,
    size: pageParam.size
  }
})
}

